#include <stdio.h>
#define N 100

typedef int data_t;

typedef struct
{
  data_t data[N];
  int last;
} sqList, *sqlink;

int main()
{
  sqlink list;
  list = (sqlink)malloc(sizeof(sqList));
  if (list == NULL)
  {
    printf("Memory allocation failed!\n");
    return -1;
  }
  list->last = -1; // 初始化顺序表为空
  return 0;
}